package com.jcp.entity;

import java.io.Serializable;

/**
 * 部门表
 * @author 朱徐烽
 *
 */
public class Departments implements Serializable {

	private int deptId;
	private String deptName;
	private int deptNum;//员工数量
	private int deptManId;//部门部长编号
	private String deptInfo;//部门信息
	public int getDeptId() {
		return deptId;
	}
	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public int getDeptNum() {
		return deptNum;
	}
	public void setDeptNum(int deptNum) {
		this.deptNum = deptNum;
	}
	public int getDeptManId() {
		return deptManId;
	}
	public void setDeptManId(int deptManId) {
		this.deptManId = deptManId;
	}
	public String getDeptInfo() {
		return deptInfo;
	}
	public void setDeptInfo(String deptInfo) {
		this.deptInfo = deptInfo;
	}
	public Departments(int deptId, String deptName, int deptNum, int deptManId, String deptInfo) {
		super();
		this.deptId = deptId;
		this.deptName = deptName;
		this.deptNum = deptNum;
		this.deptManId = deptManId;
		this.deptInfo = deptInfo;
	}
	public Departments( String deptName, int deptManId, String deptInfo,int deptId) {
		super();
		this.deptId = deptId;
		this.deptName = deptName;
		this.deptManId = deptManId;
		this.deptInfo = deptInfo;
	}
	public Departments( String deptName, int deptNum, int deptManId, String deptInfo) {
		super();
		this.deptName = deptName;
		this.deptNum = deptNum;
		this.deptManId = deptManId;
		this.deptInfo = deptInfo;
	}
	public Departments( String deptName,String deptInfo,int deptId) {
		super();
		this.deptName = deptName;
		this.deptInfo = deptInfo;
		this.deptId = deptId;
	}
	@Override
	public String toString() {
		return "Departments [deptId=" + deptId + ", deptName=" + deptName + ", deptNum=" + deptNum + ", deptManId="
				+ deptManId + ", deptInfo=" + deptInfo + "]";
	}
	public Departments() {
		// TODO Auto-generated constructor stub
	}
	
}
